<?php
/* @var $this LogsController */
/* @var $model Logs */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

<div class="row">
		<?php echo $form->label($model,'name'); ?>
		
		<select name="Logs[name]"  id="Procedures_database_id" >
			<option value="" >---- ALL ------</option>
			<?php
			$LogDomain = LogDomain::model()->findAll();
			foreach($LogDomain as $key=>$d){
			?>
				<option value="<?php echo $d->name;?>" >
					<?php echo $d->name;?>
				</option>
			<?php
			}
			
			?>
		</select>
	</div>
	
		
	<div class="row">
		<?php echo $form->label($model,'status'); ?>
		
		<?php echo $form->dropDownList($model, 'status',array(0=>"OK",2=>"NOT OK",1=>"Missing"),array('empty' => '(Select a Status)'));?>
	</div>


	<div class="row">
		<?php echo $form->label($model,'link'); ?>
		<?php echo $form->textField($model,'link',array('size'=>60,'maxlength'=>200)); ?>
	</div>




	<div class="row">
		<?php echo $form->label($model,'visit'); ?>
		<?php echo $form->textField($model,'visit'); ?>
	</div>




	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->